<extend name="Public/base"/>


<block name="body">
    <div class="main-title">
        <h2>编辑账户</h2>
    </div>
    <form action="{:U('saveAcount')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">账户名称</label>
            <div class="controls">
                <input type="text" class="text input-large" name="name" value="{$info.name}">
            </div>
        </div>

        <div class="form-item">
            <label class="item-label">APPID</label>
            <div class="controls">
                <input type="text" class="text input-large" name="app_id" value="{$info.app_id}">
            </div>
        </div>

        <div class="form-item">
            <label class="item-label">账户私钥<span class="check-tips">(merchant_private_key)</span></label>
            <div class="controls">
                 <label class="textarea input-large">
                  <textarea name="merchant_private_key">{$info.merchant_private_key|default=''}</textarea>
                 </label>
            </div>
        </div>

       <div class="form-item">
            <label class="item-label">支付宝公钥<span class="check-tips">(alipay_public_key)</span></label>
            <div class="controls">
                <label class="textarea input-large">
                 <textarea name="alipay_public_key">{$info.alipay_public_key|default=''}</textarea>
                </label>
            </div>
        </div>

        <div class="form-item">
            <input type="hidden" name="id" value="{$info.id|default=''}">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script src="__STATIC__/layui/layui/layui.js"></script>
    <script type="text/javascript">
        
        highlight_subnav("{:U('Acount')}");

    </script>

</block>
